package cn.edu.nyist.entity;

import java.io.Serializable;

/**
 * (UserRentInfo)实体类
 *
 * @author makejava
 * @since 2021-04-10 00:45:16
 */
public class UserRentInfo implements Serializable {
    private static final long serialVersionUID = 364541732145626331L;
    
    private Integer id;
    
    private Integer userId;
    
    private Integer rentId;

    public UserRentInfo(Integer userId, Integer rentId) {
        this.userId = userId;
        this.rentId = rentId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getRentId() {
        return rentId;
    }

    public void setRentId(Integer rentId) {
        this.rentId = rentId;
    }

    @Override
    public String toString() {
        return "UserRentInfo{" +
                "id=" + id +
                ", userId=" + userId +
                ", rentId=" + rentId +
                '}';
    }
}